package com.sgxy.wmservice.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Authoer: WGP
 * @CreateDate:2022/5/4
 * @Description:
 */
@Data
public class InputOrderVo {
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "入库订单号")
    private String inputNo;

    @ApiModelProperty(value = "所属采购订单id")
    private String ordersId;
    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "商品id")
    private String goodsId;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "规格/单位")
    private String unit;

    @ApiModelProperty(value = "所属仓库id")
    private String storeId;
    @ApiModelProperty(value = "所属仓库名")
    private String storeName;

    @ApiModelProperty(value = "操作员id")
    private String empId;
    @ApiModelProperty(value = "操作员名")
    private String empName;

    @ApiModelProperty(value = "入库数量")
    private Integer inputNum;

    @ApiModelProperty(value = "入库类型")
    private Integer inputType;

    @ApiModelProperty(value = "入库时间")
    @TableField(fill = FieldFill.INSERT)
    private Date inputDate;

    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    private Boolean isDeleted;
}
